package day03;

public class ExtraPractise {
    public static void main(String[] args) {

       /* int a = 20,b=21 ;
        if (a>b) {
            System.out.println("最大值为a"+a);
        }else {
            System.out.println("最大值为b"+b);
        }*/


        /*int year = 900;
        if ((year % 4 == 0 && year % 100 != 0) || year % 400 == 0) {//判断是否为闰年
            System.out.println(year + "年为闰年");
        } else {
            System.out.println(year + "年为平年");
        }*/

        /*int score = -100;//判断成绩
        if (score > 100) {
            System.out.println("输入错误");
        } else if (score <= 100 && score > 80) {
            System.out.println("成就优异");
        } else if (score >= 70) {
            System.out.println("成绩良好");

        } else if (score >= 60) {
            System.out.println("成绩及格");
        } else if (score >= 0) {
            System.out.println("成绩不及格");
        }else {
            System.out.println("输入报错");
        }*/
    }
}
